package com.ruoyi.costumeShop.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * refundOrder对象 costume_refund_order
 *
 * @author ruoyi
 * @date 2022-05-14
 */
public class CostumeRefundOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退货单id */
    private Long refundOrderId;

    /** 退货单编号 */
    @Excel(name = "退货单编号")
    private String refundOrderNo;

    /** 退款总金额 */
    @Excel(name = "退款总金额")
    private BigDecimal refundTotalAmount;

    /** 退货总数量 */
    @Excel(name = "退货总数量")
    private Long refundTotalQuantity;

    /** 退货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 原订单编号 */
    @Excel(name = "原订单编号")
    private String saleOrderNo;

    public void setRefundOrderId(Long refundOrderId)
    {
        this.refundOrderId = refundOrderId;
    }

    public Long getRefundOrderId()
    {
        return refundOrderId;
    }
    public void setRefundOrderNo(String refundOrderNo)
    {
        this.refundOrderNo = refundOrderNo;
    }

    public String getRefundOrderNo()
    {
        return refundOrderNo;
    }
    public void setRefundTotalAmount(BigDecimal refundTotalAmount)
    {
        this.refundTotalAmount = refundTotalAmount;
    }

    public BigDecimal getRefundTotalAmount()
    {
        return refundTotalAmount;
    }
    public void setRefundTotalQuantity(Long refundTotalQuantity)
    {
        this.refundTotalQuantity = refundTotalQuantity;
    }

    public Long getRefundTotalQuantity()
    {
        return refundTotalQuantity;
    }
    public void setRefundTime(Date refundTime)
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime()
    {
        return refundTime;
    }
    public void setSaleOrderNo(String saleOrderNo)
    {
        this.saleOrderNo = saleOrderNo;
    }

    public String getSaleOrderNo()
    {
        return saleOrderNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("refundOrderId", getRefundOrderId())
                .append("refundOrderNo", getRefundOrderNo())
                .append("refundTotalAmount", getRefundTotalAmount())
                .append("refundTotalQuantity", getRefundTotalQuantity())
                .append("refundTime", getRefundTime())
                .append("saleOrderNo", getSaleOrderNo())
                .toString();
    }
}
